.stock-container {
  .ant-pro-grid-content {
    .ant-pro-grid-content-children {
      .ant-pro-page-container-children-content {
        .stock-pro-table {
          .ant-pro-table-search {
            .ant-col {
              &:last-child {
                .ant-form-item-control {
                  .ant-form-item-control-input-content {
                    >.ant-space {
                      gap: 0 !important;
                    }
                  }
                }
              }

              &:nth-child(6) {
                .ant-form-item {
                  .ant-form-item-control {
                    padding-right: 3px !important;
                  }

                  .ant-space {
                    display: flex;
                    justify-content: space-between;

                    .ant-space-item {
                      flex: 2;

                      &:nth-child(2) {
                        flex: 0;
                      }
                    }
                  }
                }
              }
            }
          }

          .ant-card {
            .ant-card-body {
              .ant-pro-table-list-toolbar {
                .ant-pro-table-list-toolbar-container {
                  .ant-pro-table-list-toolbar-right {
                    .stock-select {
                      min-width: 100px !important;
                    }
                  }
                }
              }
            }
          }
        }


      }
    }
  }
}

.adjust-stock-container {
  .service-record {
    background-color: #fff;
    padding: 10px;

    .search-pro-form,
    .adjust-pro-form,
    .adjust-method-pro-form,
    .order-pro-form {
      .ant-form-item {
        // margin-bottom: 8px;

        .ant-form-item-label {
          width: 100px;
          text-align: right;

          label {
            font-size: 12px;
          }
        }

        .ant-form-item-control {
          .ant-form-item-control-input-content {
            font-size: 12px;
          }

          .ant-input-affix-wrapper {
            padding: 0 11px;
            font-size: 12px;

            .ant-input {
              height: 24px;
              font-size: 12px;
            }
          }

          .ant-input-number-input-wrap {
            .ant-input-number-input {
              height: 24px;
              font-size: 12px;
            }
          }
        }

        .ant-select {
          .ant-select-selector {
            font-size: 12px;
            height: 24px;

            .ant-select-selection-item,
            .ant-select-selection-placeholder {
              line-height: 24px;
            }
          }
        }
      }
    }

    .adjust-method-pro-form {
      margin-bottom: 10px;
    }

    .order-pro-form {
      .ant-form-item {
        margin-bottom: 8px;
      }

      .ant-pro-form-group {
        .ant-space {
          align-items: flex-start;
        }
      }
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .title {
        font-size: 14px;
        font-weight: bold;
        color: #000;
      }

      .fwb {
        font-weight: bold;
      }
    }

    .info-body {
      padding-bottom: 20px;

      .row {
        margin-bottom: 15px;
      }
    }

    .ant-card-body {
      padding: 0;
    }

    .batch-pro-table {
      .ant-pro-table-search {
        margin-bottom: 0;
        padding: 0;

        .ant-form {
          .ant-row {
            margin-left: 0 !important;
            margin-right: 0 i !important;

            .ant-col {
              .ant-form-item {
                .ant-form-item-label {
                  flex: 0 0 100px !important;
                }
              }
            }
          }
        }
      }

      .ant-card {
        padding-top: 0;
      }
    }

    .adjust-pro-form {

      .ant-pro-form-group {
        margin-bottom: 24px;
      }

      .ant-form-item {
        // margin-bottom: 0;
      }

      .warning {
        color: #F9AD1A;
        font-weight: bold;
        font-size: 12px;
      }
    }
  }

  .service-record1 {
    .ant-form-item {
      margin-bottom: 8px;
    }
  }

  .ant-pro-table {
    .ant-pro-table-search {
      .ant-form {
        .ant-col {
          padding-left: 6px !important;
        }
      }
    }

    .ant-card {
      .ant-card-body {
        padding: 0 !important;
      }
    }
  }

  .batchid {
    >.ant-row:first-child {
      >.ant-form-item-control {
        .ant-input-affix-wrapper {
          padding-right: 0 !important;
        }

        .ant-input-suffix {
          margin: 0;
        }

        input {
          width: 100%;
        }
      }
    }
  }
}

.ant-pro-table {
  &>div.ant-pro-card.ant-pro-table-search {
    margin-bottom: 0;
    padding: 24px 24px 12px 36px;
  }

  &>div.ant-pro-card:last-child {
    &>.ant-pro-card-body {
      padding-top: 12px;
    }

    .ant-pro-table-list-toolbar-container {
      padding: 0 0 12px 0;
      justify-content: unset;
    }
  }
}
